package com.buba.service;
import com.baomidou.mybatisplus.extension.service.IService;
import entity.salary.Payroll;
import entity.salary.dto.socialDto;
import entity.salary.vo.selPeopleSalaryInformationVo;
import utils.PageResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author beisheng
 * @since 2023-03-14
 */
public interface PayrollService extends IService<Payroll> {

    /* *
     * @Author: beisheng
     * @Descriprion: 分页查询所有工资单
     * @Date: 2023/3/23 13:36
     * @Return: common.R
     * @Param: []
     */

    PageResult selAllPayroll(socialDto socialDto);

    /* *
     * @Author: beisheng
     * @Descriprion:查看所有工资单关联人员的薪资信息
     * @Date: 2023/3/23 16:13
     * @Return: common.R
     * @Param: [payRollId]
     */

    List<selPeopleSalaryInformationVo> selPeopleSalaryInformation(Integer payRollId);
}
